﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyFile.Config
{
    public class TemplateInfo
    {
        public int id { get; set; }
        public int gameId { get; set; }
        public string commodityName { get; set; }
        public string commodityHashName { get; set; }
        public string iconUrl { get; set; }
        public string iconUrlLarge { get; set; }
        public string steamPrice { get; set; }
        public string steamUSDPrice { get; set; }
        public string haveSold { get; set; }
        public string haveLease { get; set; }
        public string typeName { get; set; }
        public string typeHashName { get; set; }
        public string rarityName { get; set; }
        public string rarityColor { get; set; }
        public string qualityName { get; set; }
        public string qualityColor { get; set; }
        public string exteriorName { get; set; }
        public string exteriorColor { get; set; }
        public int isDoppler { get; set; }
        public int isFade { get; set; }
        public int isHardened { get; set; }
        public int isSpecial { get; set; }
        public string weaponHashName { get; set; }
        public int sellNumber { get; set; }
        public int leaseNumber { get; set; }
        public int noLongLeaseNumber { get; set; }
        public int purchaseNumber { get; set; }
        public int supportAbrade { get; set; }
        public string jumpSteamLinkUrl { get; set; }
    }
    public class NodeItemsItem
    {
        public string leaseTransferPrice { get; set; }
        public string Name { get; set; }
        public string ValType { get; set; }
        public string MaxVal { get; set; }
        public string MinVal { get; set; }
        public string FixedVal { get; set; }
        public string QueryString { get; set; }
        public string IsSelected { get; set; }
        public string NodeItems { get; set; }
        public string PurchaseMaxPrice { get; set; }
        public string SellPrice { get; set; }
        public string LeasePrice { get; set; }
        public string CategoryFlag { get; set; }
    }
    public class ItemsItem
    {
        public string leaseTransferPrice { get; set; }
        public string Name { get; set; }
        public string ValType { get; set; }
        public string MaxVal { get; set; }
        public string MinVal { get; set; }
        public string FixedVal { get; set; }
        public string QueryString { get; set; }
        public string IsSelected { get; set; }
        public List<NodeItemsItem> NodeItems { get; set; }
        public string PurchaseMaxPrice { get; set; }
        public string SellPrice { get; set; }
        public string LeasePrice { get; set; }
        public string CategoryFlag { get; set; }
    }
    public class FiltersItem
    {
        public string Name { get; set; }
        public string FilterKey { get; set; }
        public int ControlType { get; set; }
        public int FilterType { get; set; }
        public string IsShow { get; set; }
        public string SubName { get; set; }
        public string MaxVal { get; set; }
        public string MinVal { get; set; }
        public List<ItemsItem> Items { get; set; }
    }
    public class SpecialStyleListItem
    {
        public string ShowName { get; set; }
        public string Name { get; set; }
        public string QueryString { get; set; }
        public int SpecialType { get; set; }
    }
    public class SellSortConfigListItem
    {
        public string sortTypeKey { get; set; }
        public string sortDesc { get; set; }
        public string showName { get; set; }
    }

    public class LeaseSortConfigListItem
    {
        public string sortTypeKey { get; set; }
        public string sortDesc { get; set; }
        public string showName { get; set; }
    }
    public class PurchaseSpecialPropertiesItem
    {
        public string showName { get; set; }
        public string color { get; set; }
        public string title { get; set; }
        public int typeId { get; set; }
        public int type { get; set; }
        public int? paint { get; set; }
    }
    public class PurchaseAbradeSectionsItem
    {
        public string showName { get; set; }
        public string maxAbrade { get; set; }
        public string minAbrade { get; set; }
        public int abradeId { get; set; }
    }
    public class PurchaseConfigDTO
    {
        public List<PurchaseSpecialPropertiesItem> purchaseSpecialProperties { get; set; }
        public List<PurchaseAbradeSectionsItem> purchaseAbradeSections { get; set; }
    }
    public class AbradeRangeListItem
    {
        public string ShowName { get; set; }
        public string Name { get; set; }
        public string MaxVal { get; set; }
        public string MinVal { get; set; }
    }
    public class Data
    {
        public TemplateInfo templateInfo { get; set; }
        public List<FiltersItem> filters { get; set; }
        public List<SpecialStyleListItem> specialStyleList { get; set; }
        public List<SellSortConfigListItem> sellSortConfigList { get; set; }
        public List<LeaseSortConfigListItem> leaseSortConfigList { get; set; }
        public PurchaseConfigDTO purchaseConfigDTO { get; set; }
        public string fadeRangeList { get; set; }
        public List<AbradeRangeListItem> abradeRangeList { get; set; }
    }
    /// <summary>
    /// 悠悠饰品详情页返回数据
    /// </summary>
    public class ReceiveDetail
    {
        public int Code { get; set; }
        public string Msg { get; set; }
        public Data Data { get; set; }
        public int TotalCount { get; set; }
    }
}
